Skip to content

[codex] Share Lua core via integration-core#3

Merged
ruttydm merged 1 commit intomainfrom
codex/share-lua-core-opencompany
Apr 1, 2026
Merged

[codex] Share Lua core via integration-core#3
ruttydm merged 1 commit intomainfrom
codex/share-lua-core-opencompany

Conversation

@ruttydm
Copy link
Copy Markdown
Contributor

@ruttydm ruttydm commented Apr 1, 2026

What changed

This publishes the OpenCompany side of the shared Lua-core refactor.

It updates OpenCompany to consume the new shared Lua catalog/docs/bridge logic extracted into opencompanyapp/integration-core:

  • LuaApiDocGenerator now delegates namespace/catalog/doc rendering to shared core classes
  • LuaBridge now delegates routing and call logging to the shared core bridge
  • OpenCompanyLuaToolInvoker adapts OpenCompany's ToolRegistry to the shared bridge contract
  • ToolRegistry is now registered as a singleton so built-in providers survive container resolution and the Lua docs/bridge see the full app catalog consistently

This branch also includes the existing local changes that were already present in the worktree when I started, per request.

Dependency

Depends on:

Why

The goal is to keep package boundaries small and clean:

  • integration-core owns shared tool contracts and shared PHP-side Lua logic
  • integration-* packages remain actual integrations
  • lua-sandbox remains native runtime only
  • prism-relay remains provider/model normalization only

Validation

Ran:

  • php artisan test tests/Feature/LuaApiDocGeneratorTest.php tests/Feature/LuaBridgeTest.php tests/Feature/Tools/LuaExecTest.php

All passed on this branch.

@ruttydm ruttydm merged commit 24e2cc8 into main Apr 1, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant